package com.ifonly.datatables.model;

/**
 * <p>
 * .
 * </p>
 *
 * @author Jerry Ou
 * @version 1.0 2015-08-31 22:29
 * @since JDK 1.6
 */
public enum Condition {
    NE(" <> ?"),
    EQ(" = ?"),
    INN(" is not null"),
    IN(" is null"),
    LT(" < ?"),
    LTEQ(" <= ?"),
    GT(" > ?"),
    GTEQ(" >= ?"),
    BETWEEN(" BETWEEN ? AND ?"),
    AND(" "),
    LIKE(" LIKE ?"),
    LLIKE(" LIKE ?"),
    RLIKE(" LIKE ?");

    public final String condition;

    Condition(String condition) {
        this.condition = condition;
    }
}